<?php
class Application_Model_Perfil extends Zend_Db_Table_Abstract
{
	protected $_schema  = 'pagservice';
	protected $_name    = 'perfis';
	protected $_primary = 'id';
	protected $_dependentTables = array('Application_Model_Permissao');
    
	public function getArrayPerfis()
	{
		$perfis = $this->fetchAll();
		foreach ($perfis as $values)
		{
		$arrayPerfis[$values->id] = $values->descricao; 	
		}
		return $arrayPerfis;
	}
        
}